package cn.wangxl.loglog.domain;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.TextIndexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.time.LocalDateTime;

/**
 * @Deacription 日志DO
 * @Author 20112128
 * @Date 2020/5/1 1:55
 **/
@Data
@Document
public class BasicLogDO{

    @Id
    String id;

    LocalDateTime createTime;

    String application;

    String logType;

    @TextIndexed
    String message;

    String otherMessage;
}
